path = "C://Users//liuxin//Desktop//日志//youchu_compute_host.txt"
s = ""
s_list = []
with open(path, 'r') as f:
    for i in f.readlines():
        s_list.append(i.strip())

for i in sorted(s_list):
    # print(i)
    cur = i + ' '
    # print(cur)
    s += cur

#print(len(s))
print(s)
print(len(sorted(s_list)))
